package com.hlhj.funlike_business.activity.adapter;

import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hlhj.funlike_business.R;
import com.hlhj.funlike_business.bean.CommentListBean;

import java.util.List;

public class CommentImgAdp extends BaseQuickAdapter<String,BaseViewHolder> {
    public CommentImgAdp(@Nullable List<String> data) {
        super(R.layout.adp_commentimg,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        ImageView img = helper.getView(R.id.img_comment);

        Glide.with(mContext).load(item).into(img);
    }
}
